import React from "react";
import ReactDOM from "react-dom";
import App from "./pages/App";
import { Provider } from "mobx-react";
import store from "@stores/index";


ReactDOM.render( 
<Provider {...store}>
    <App />
</Provider>
, document.getElementById('root'))

{/* if (module.hot) {
    module.hot.accept(['./pages/App'], () => {
        ReactDOM.render( < App / > , document.getElementById('root'))
    })
} */}